﻿using Elsa.Activities.ControlFlow;
using System.Collections.Generic;
using System;
using TyMES.Model.BaseInformation;

namespace TyMES.ResponseModel
{
    public class PassStationResponse
    {
        public class RouteBOMResponse
        {
            public string code { get; set; }
            public List<OperationData> data { get; set; }
            public bool fail { get; set; }
            public string mesg { get; set; }
            public bool success { get; set; }
            public DateTime time { get; set; }
        }

        public class OperationData
        {
            public string addTime { get; set; }
            public DateTime editTime { get; set; }
            public string lastOperationCode { get; set; }
            public string nextNode { get; set; }
            public string nextOperationId { get; set; }
            public string operationCode { get; set; }
            public string operationId { get; set; }
            public string operationName { get; set; }
            public string orderCode { get; set; }
            public string orderId { get; set; }
            public string parentOperationCode { get; set; }
            public string nextOperationCode { get; set; }
            public string parentOperationId { get; set; }
            public string routeName { get; set; }
            public string routeNumber { get; set; }
            public string routeVersion { get; set; }
            public string scheduleNumber { get; set; }
            public string sort { get; set; }
        }
        public class TraySearchResponse
        {
            public string code { get; set; }
            public string mesg { get; set; }
            public TraySearchResponseData data {  get; set; }
            public bool fail {  get; set; }
            public bool success { get; set; }
            public string time {  get; set; }
                
        }
        public class TraySearchResponseData
        {
            public string operateIdentifi { get; set; }
            public string orderNumber { get; set; }
            public string scheduleNumber { get; set; }
            public string snNumber { get; set; }
            public string vehicleNumber { get; set; }
            public string stationCode { get; set; }
            public string operationCode { get; set; }
        }
    }
}
